package com.spring.app.controller;

import org.springframework.stereotype.Controller;
//import com.spring.app.service.UserService;

@Controller
public class UserController {
	
	//@Autowired
	//private UserService userService;

		/*@RequestMapping(value = "/getUserById/{id}", method = RequestMethod.GET)
		public @ResponseBody User getUserById(@PathVariable Long id) {
			
			return userService.getUserById(id);
			
		}
		
		@RequestMapping(value = "/hello", method = RequestMethod.GET)
		public @ResponseBody User hello() {
			System.out.println("----------hello----------------");
			User user =  userService.getUserById(10l);
			System.out.println(user);
			return user;
			
			
		}
*/		
}